#!/bin/sh

if [ -z "$MESSHOME" ]
then
	. ./messenv.sh
fi

grep -v '^window .* 1$' "$MESSHOME"/mess.ini | sed 's/^throttle .* 1$/throttle 0/' >"$MESSHOME"/mess$$
mv "$MESSHOME"/mess$$ "$MESSHOME"/mess.ini
